#ifndef MSGQUEUE_H_
#define MSGQUEUE_H_

#define MAX_MSG_SIZE 255


int NewQueue(key_t key, int flags);

int SendMsgQueue(int mqid, void * msg, int flags);

int GetMsgQueue(int mqid, void * msg, long msg_type);

int CloseQueue(int mqid);

#endif /*MSGQUEUE_H_*/
